package com.nc.cloud.gateway.fallback;

/**
 * @Description 网关Feign客户端接口实现类
 * @ClassName UserServiceFallback
 * @Author NC—Cloud
 * @date 2020.04.14 10:17
 */

import com.nc.cloud.api.vo.authority.PermissionInfo;
import com.nc.cloud.gateway.feign.IUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Service
@Slf4j
public class UserServiceFallback implements IUserService {


    @Override
    public List<PermissionInfo> getPermissionByUserName(String userName) {
        return null;
    }

    @Override
    public List<PermissionInfo> getAllPermissionInfo() {
        return null;
    }
}
